package org.consumer;

import org.consumer.proxy.RpcProxy;
import org.server.interfaces.service.UserService;

/**
 * rpc服务消费方
 *
 */
public class ConsumerApp 
{
    public static void main( String[] args )
    {
    	UserService userService = (UserService) RpcProxy.getRpcProxy(UserService.class,"127.0.0.1" , 8888);
    	System.out.println(userService.sayHelloTo("Typhoon"));
    }
}
